﻿using System;
using System.Runtime.InteropServices;

namespace Valve.VR
{
	// Token: 0x02000489 RID: 1161
	public struct IVRCompositor
	{
		// Token: 0x0400105D RID: 4189
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._SetTrackingSpace SetTrackingSpace;

		// Token: 0x0400105E RID: 4190
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetTrackingSpace GetTrackingSpace;

		// Token: 0x0400105F RID: 4191
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._WaitGetPoses WaitGetPoses;

		// Token: 0x04001060 RID: 4192
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetLastPoses GetLastPoses;

		// Token: 0x04001061 RID: 4193
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetLastPoseForTrackedDeviceIndex GetLastPoseForTrackedDeviceIndex;

		// Token: 0x04001062 RID: 4194
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._Submit Submit;

		// Token: 0x04001063 RID: 4195
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ClearLastSubmittedFrame ClearLastSubmittedFrame;

		// Token: 0x04001064 RID: 4196
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._PostPresentHandoff PostPresentHandoff;

		// Token: 0x04001065 RID: 4197
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetFrameTiming GetFrameTiming;

		// Token: 0x04001066 RID: 4198
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetFrameTimeRemaining GetFrameTimeRemaining;

		// Token: 0x04001067 RID: 4199
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetCumulativeStats GetCumulativeStats;

		// Token: 0x04001068 RID: 4200
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._FadeToColor FadeToColor;

		// Token: 0x04001069 RID: 4201
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._FadeGrid FadeGrid;

		// Token: 0x0400106A RID: 4202
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._SetSkyboxOverride SetSkyboxOverride;

		// Token: 0x0400106B RID: 4203
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ClearSkyboxOverride ClearSkyboxOverride;

		// Token: 0x0400106C RID: 4204
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CompositorBringToFront CompositorBringToFront;

		// Token: 0x0400106D RID: 4205
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CompositorGoToBack CompositorGoToBack;

		// Token: 0x0400106E RID: 4206
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CompositorQuit CompositorQuit;

		// Token: 0x0400106F RID: 4207
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._IsFullscreen IsFullscreen;

		// Token: 0x04001070 RID: 4208
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetCurrentSceneFocusProcess GetCurrentSceneFocusProcess;

		// Token: 0x04001071 RID: 4209
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetLastFrameRenderer GetLastFrameRenderer;

		// Token: 0x04001072 RID: 4210
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CanRenderScene CanRenderScene;

		// Token: 0x04001073 RID: 4211
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ShowMirrorWindow ShowMirrorWindow;

		// Token: 0x04001074 RID: 4212
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._HideMirrorWindow HideMirrorWindow;

		// Token: 0x04001075 RID: 4213
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._IsMirrorWindowVisible IsMirrorWindowVisible;

		// Token: 0x04001076 RID: 4214
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CompositorDumpImages CompositorDumpImages;

		// Token: 0x04001077 RID: 4215
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ShouldAppRenderWithLowResources ShouldAppRenderWithLowResources;

		// Token: 0x04001078 RID: 4216
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ForceInterleavedReprojectionOn ForceInterleavedReprojectionOn;

		// Token: 0x04001079 RID: 4217
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ForceReconnectProcess ForceReconnectProcess;

		// Token: 0x0400107A RID: 4218
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._SuspendRendering SuspendRendering;

		// Token: 0x0400107B RID: 4219
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetMirrorTextureD3D11 GetMirrorTextureD3D11;

		// Token: 0x0400107C RID: 4220
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetMirrorTextureGL GetMirrorTextureGL;

		// Token: 0x0400107D RID: 4221
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ReleaseSharedGLTexture ReleaseSharedGLTexture;

		// Token: 0x0400107E RID: 4222
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._LockGLSharedTextureForAccess LockGLSharedTextureForAccess;

		// Token: 0x0400107F RID: 4223
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._UnlockGLSharedTextureForAccess UnlockGLSharedTextureForAccess;

		// Token: 0x0200048A RID: 1162
		// (Invoke) Token: 0x06001935 RID: 6453
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetTrackingSpace(ETrackingUniverseOrigin eOrigin);

		// Token: 0x0200048B RID: 1163
		// (Invoke) Token: 0x06001939 RID: 6457
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate ETrackingUniverseOrigin _GetTrackingSpace();

		// Token: 0x0200048C RID: 1164
		// (Invoke) Token: 0x0600193D RID: 6461
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _WaitGetPoses([In] [Out] TrackedDevicePose_t[] pRenderPoseArray, uint unRenderPoseArrayCount, [In] [Out] TrackedDevicePose_t[] pGamePoseArray, uint unGamePoseArrayCount);

		// Token: 0x0200048D RID: 1165
		// (Invoke) Token: 0x06001941 RID: 6465
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _GetLastPoses([In] [Out] TrackedDevicePose_t[] pRenderPoseArray, uint unRenderPoseArrayCount, [In] [Out] TrackedDevicePose_t[] pGamePoseArray, uint unGamePoseArrayCount);

		// Token: 0x0200048E RID: 1166
		// (Invoke) Token: 0x06001945 RID: 6469
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _GetLastPoseForTrackedDeviceIndex(uint unDeviceIndex, ref TrackedDevicePose_t pOutputPose, ref TrackedDevicePose_t pOutputGamePose);

		// Token: 0x0200048F RID: 1167
		// (Invoke) Token: 0x06001949 RID: 6473
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _Submit(EVREye eEye, ref Texture_t pTexture, ref VRTextureBounds_t pBounds, EVRSubmitFlags nSubmitFlags);

		// Token: 0x02000490 RID: 1168
		// (Invoke) Token: 0x0600194D RID: 6477
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ClearLastSubmittedFrame();

		// Token: 0x02000491 RID: 1169
		// (Invoke) Token: 0x06001951 RID: 6481
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _PostPresentHandoff();

		// Token: 0x02000492 RID: 1170
		// (Invoke) Token: 0x06001955 RID: 6485
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _GetFrameTiming(ref Compositor_FrameTiming pTiming, uint unFramesAgo);

		// Token: 0x02000493 RID: 1171
		// (Invoke) Token: 0x06001959 RID: 6489
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate float _GetFrameTimeRemaining();

		// Token: 0x02000494 RID: 1172
		// (Invoke) Token: 0x0600195D RID: 6493
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _GetCumulativeStats(ref Compositor_CumulativeStats pStats, uint nStatsSizeInBytes);

		// Token: 0x02000495 RID: 1173
		// (Invoke) Token: 0x06001961 RID: 6497
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _FadeToColor(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground);

		// Token: 0x02000496 RID: 1174
		// (Invoke) Token: 0x06001965 RID: 6501
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _FadeGrid(float fSeconds, bool bFadeIn);

		// Token: 0x02000497 RID: 1175
		// (Invoke) Token: 0x06001969 RID: 6505
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _SetSkyboxOverride([In] [Out] Texture_t[] pTextures, uint unTextureCount);

		// Token: 0x02000498 RID: 1176
		// (Invoke) Token: 0x0600196D RID: 6509
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ClearSkyboxOverride();

		// Token: 0x02000499 RID: 1177
		// (Invoke) Token: 0x06001971 RID: 6513
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _CompositorBringToFront();

		// Token: 0x0200049A RID: 1178
		// (Invoke) Token: 0x06001975 RID: 6517
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _CompositorGoToBack();

		// Token: 0x0200049B RID: 1179
		// (Invoke) Token: 0x06001979 RID: 6521
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _CompositorQuit();

		// Token: 0x0200049C RID: 1180
		// (Invoke) Token: 0x0600197D RID: 6525
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _IsFullscreen();

		// Token: 0x0200049D RID: 1181
		// (Invoke) Token: 0x06001981 RID: 6529
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetCurrentSceneFocusProcess();

		// Token: 0x0200049E RID: 1182
		// (Invoke) Token: 0x06001985 RID: 6533
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetLastFrameRenderer();

		// Token: 0x0200049F RID: 1183
		// (Invoke) Token: 0x06001989 RID: 6537
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _CanRenderScene();

		// Token: 0x020004A0 RID: 1184
		// (Invoke) Token: 0x0600198D RID: 6541
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ShowMirrorWindow();

		// Token: 0x020004A1 RID: 1185
		// (Invoke) Token: 0x06001991 RID: 6545
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _HideMirrorWindow();

		// Token: 0x020004A2 RID: 1186
		// (Invoke) Token: 0x06001995 RID: 6549
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _IsMirrorWindowVisible();

		// Token: 0x020004A3 RID: 1187
		// (Invoke) Token: 0x06001999 RID: 6553
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _CompositorDumpImages();

		// Token: 0x020004A4 RID: 1188
		// (Invoke) Token: 0x0600199D RID: 6557
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _ShouldAppRenderWithLowResources();

		// Token: 0x020004A5 RID: 1189
		// (Invoke) Token: 0x060019A1 RID: 6561
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ForceInterleavedReprojectionOn(bool bOverride);

		// Token: 0x020004A6 RID: 1190
		// (Invoke) Token: 0x060019A5 RID: 6565
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ForceReconnectProcess();

		// Token: 0x020004A7 RID: 1191
		// (Invoke) Token: 0x060019A9 RID: 6569
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SuspendRendering(bool bSuspend);

		// Token: 0x020004A8 RID: 1192
		// (Invoke) Token: 0x060019AD RID: 6573
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _GetMirrorTextureD3D11(EVREye eEye, IntPtr pD3D11DeviceOrResource, ref IntPtr ppD3D11ShaderResourceView);

		// Token: 0x020004A9 RID: 1193
		// (Invoke) Token: 0x060019B1 RID: 6577
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _GetMirrorTextureGL(EVREye eEye, ref uint pglTextureId, IntPtr pglSharedTextureHandle);

		// Token: 0x020004AA RID: 1194
		// (Invoke) Token: 0x060019B5 RID: 6581
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _ReleaseSharedGLTexture(uint glTextureId, IntPtr glSharedTextureHandle);

		// Token: 0x020004AB RID: 1195
		// (Invoke) Token: 0x060019B9 RID: 6585
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _LockGLSharedTextureForAccess(IntPtr glSharedTextureHandle);

		// Token: 0x020004AC RID: 1196
		// (Invoke) Token: 0x060019BD RID: 6589
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _UnlockGLSharedTextureForAccess(IntPtr glSharedTextureHandle);
	}
}
